<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

<form action="http://localhost:8080/file/upload" method="post" enctype="multipart/form-data">

    <div>
      <input type="file" name="photo">
    </div>
   <div>
        <button>上传</button>
   </div>


</form>

</body>
</html>